package com.orhanobut.hawk.parser

import java.lang.reflect.Type

interface Parser {
  fun <T> fromJson(content: String?, type: Type): T?
  fun <T> fromJson(content: String, clazz: Class<*>?): T?
  fun toJson(body: Any): String
}